package qc.module.qms.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import qc.module.qms.algorithm.NumericCalc.dto.QmsNumericCalcUseMethodParam;
import qc.module.qms.entity.QmsCalcMethodParam;

import java.util.List;

/**
 * QmsCalcMethodParamMapper
 *
 * @author QuCheng Tech
 * @since 2025/9/9
 */
@Mapper
public interface QmsCalcMethodParamMapper {
    QmsCalcMethodParamMapper MAPPER = Mappers.getMapper(QmsCalcMethodParamMapper.class);

    QmsNumericCalcUseMethodParam toUse(QmsCalcMethodParam en);

    List<QmsNumericCalcUseMethodParam> toUseList(List<QmsCalcMethodParam> ens);
}
